.class Lcom/brixd/niceapp/activity/AppVideoActivity$8;
.super Ljava/lang/Object;
.source "AppVideoActivity.java"

# interfaces
.implements Landroid/widget/SeekBar$OnSeekBarChangeListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/brixd/niceapp/activity/AppVideoActivity;->initWidgetsActions()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/brixd/niceapp/activity/AppVideoActivity;


# direct methods
.method constructor <init>(Lcom/brixd/niceapp/activity/AppVideoActivity;)V
    .registers 2
    .param p1, "this$0"    # Lcom/brixd/niceapp/activity/AppVideoActivity;

    .prologue
    .line 286
    iput-object p1, p0, Lcom/brixd/niceapp/activity/AppVideoActivity$8;->this$0:Lcom/brixd/niceapp/activity/AppVideoActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onProgressChanged(Landroid/widget/SeekBar;IZ)V
    .registers 4
    .param p1, "seekBar"    # Landroid/widget/SeekBar;
    .param p2, "progress"    # I
    .param p3, "fromUser"    # Z

    .prologue
    .line 289
    return-void
.end method

.method public onStartTrackingTouch(Landroid/widget/SeekBar;)V
    .registers 4
    .param p1, "seekBar"    # Landroid/widget/SeekBar;

    .prologue
    .line 293
    iget-object v0, p0, Lcom/brixd/niceapp/activity/AppVideoActivity$8;->this$0:Lcom/brixd/niceapp/activity/AppVideoActivity;

    # getter for: Lcom/brixd/niceapp/activity/AppVideoActivity;->mCurrentPlayStatus:I
    invoke-static {v0}, Lcom/brixd/niceapp/activity/AppVideoActivity;->access$600(Lcom/brixd/niceapp/activity/AppVideoActivity;)I

    move-result v0

    const/4 v1, 0x3

    if-eq v0, v1, :cond_23

    .line 294
    iget-object v0, p0, Lcom/brixd/niceapp/activity/AppVideoActivity$8;->this$0:Lcom/brixd/niceapp/activity/AppVideoActivity;

    iget-object v0, v0, Lcom/brixd/niceapp/activity/AppVideoActivity;->mHandler:Landroid/os/Handler;

    iget-object v1, p0, Lcom/brixd/niceapp/activity/AppVideoActivity$8;->this$0:Lcom/brixd/niceapp/activity/AppVideoActivity;

    # getter for: Lcom/brixd/niceapp/activity/AppVideoActivity;->mRunnableHideControlToolBar:Ljava/lang/Runnable;
    invoke-static {v1}, Lcom/brixd/niceapp/activity/AppVideoActivity;->access$800(Lcom/brixd/niceapp/activity/AppVideoActivity;)Ljava/lang/Runnable;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/os/Handler;->removeCallbacks(Ljava/lang/Runnable;)V

    .line 295
    iget-object v0, p0, Lcom/brixd/niceapp/activity/AppVideoActivity$8;->this$0:Lcom/brixd/niceapp/activity/AppVideoActivity;

    iget-object v0, v0, Lcom/brixd/niceapp/activity/AppVideoActivity;->mHandler:Landroid/os/Handler;

    iget-object v1, p0, Lcom/brixd/niceapp/activity/AppVideoActivity$8;->this$0:Lcom/brixd/niceapp/activity/AppVideoActivity;

    # getter for: Lcom/brixd/niceapp/activity/AppVideoActivity;->mRunnableHidePlayControl:Ljava/lang/Runnable;
    invoke-static {v1}, Lcom/brixd/niceapp/activity/AppVideoActivity;->access$900(Lcom/brixd/niceapp/activity/AppVideoActivity;)Ljava/lang/Runnable;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/os/Handler;->removeCallbacks(Ljava/lang/Runnable;)V

    .line 297
    :cond_23
    return-void
.end method

.method public onStopTrackingTouch(Landroid/widget/SeekBar;)V
    .registers 8
    .param p1, "seekBar"    # Landroid/widget/SeekBar;

    .prologue
    const-wide/16 v4, 0x1388

    const/4 v3, 0x4

    .line 301
    iget-object v1, p0, Lcom/brixd/niceapp/activity/AppVideoActivity$8;->this$0:Lcom/brixd/niceapp/activity/AppVideoActivity;

    # getter for: Lcom/brixd/niceapp/activity/AppVideoActivity;->mCurrentPlayStatus:I
    invoke-static {v1}, Lcom/brixd/niceapp/activity/AppVideoActivity;->access$600(Lcom/brixd/niceapp/activity/AppVideoActivity;)I

    move-result v1

    if-nez v1, :cond_10

    .line 302
    const/4 v1, 0x0

    invoke-virtual {p1, v1}, Landroid/widget/SeekBar;->setProgress(I)V

    .line 321
    :cond_f
    :goto_f
    return-void

    .line 306
    :cond_10
    invoke-virtual {p1}, Landroid/widget/SeekBar;->getProgress()I

    move-result v0

    .line 307
    .local v0, "progress":I
    iget-object v1, p0, Lcom/brixd/niceapp/activity/AppVideoActivity$8;->this$0:Lcom/brixd/niceapp/activity/AppVideoActivity;

    # getter for: Lcom/brixd/niceapp/activity/AppVideoActivity;->mMediaPlayer:Landroid/media/MediaPlayer;
    invoke-static {v1}, Lcom/brixd/niceapp/activity/AppVideoActivity;->access$1500(Lcom/brixd/niceapp/activity/AppVideoActivity;)Landroid/media/MediaPlayer;

    move-result-object v1

    invoke-virtual {v1, v0}, Landroid/media/MediaPlayer;->seekTo(I)V

    .line 309
    iget-object v1, p0, Lcom/brixd/niceapp/activity/AppVideoActivity$8;->this$0:Lcom/brixd/niceapp/activity/AppVideoActivity;

    # getter for: Lcom/brixd/niceapp/activity/AppVideoActivity;->mCurrentPlayStatus:I
    invoke-static {v1}, Lcom/brixd/niceapp/activity/AppVideoActivity;->access$600(Lcom/brixd/niceapp/activity/AppVideoActivity;)I

    move-result v1

    const/4 v2, 0x1

    if-ne v1, v2, :cond_f

    .line 310
    iget-object v1, p0, Lcom/brixd/niceapp/activity/AppVideoActivity$8;->this$0:Lcom/brixd/niceapp/activity/AppVideoActivity;

    iget-object v1, v1, Lcom/brixd/niceapp/activity/AppVideoActivity;->mHandler:Landroid/os/Handler;

    iget-object v2, p0, Lcom/brixd/niceapp/activity/AppVideoActivity$8;->this$0:Lcom/brixd/niceapp/activity/AppVideoActivity;

    # getter for: Lcom/brixd/niceapp/activity/AppVideoActivity;->mRunnableHideControlToolBar:Ljava/lang/Runnable;
    invoke-static {v2}, Lcom/brixd/niceapp/activity/AppVideoActivity;->access$800(Lcom/brixd/niceapp/activity/AppVideoActivity;)Ljava/lang/Runnable;

    move-result-object v2

    invoke-virtual {v1, v2, v4, v5}, Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z

    .line 311
    iget-object v1, p0, Lcom/brixd/niceapp/activity/AppVideoActivity$8;->this$0:Lcom/brixd/niceapp/activity/AppVideoActivity;

    iget-object v1, v1, Lcom/brixd/niceapp/activity/AppVideoActivity;->mHandler:Landroid/os/Handler;

    iget-object v2, p0, Lcom/brixd/niceapp/activity/AppVideoActivity$8;->this$0:Lcom/brixd/niceapp/activity/AppVideoActivity;

    # getter for: Lcom/brixd/niceapp/activity/AppVideoActivity;->mRunnableHidePlayControl:Ljava/lang/Runnable;
    invoke-static {v2}, Lcom/brixd/niceapp/activity/AppVideoActivity;->access$900(Lcom/brixd/niceapp/activity/AppVideoActivity;)Ljava/lang/Runnable;

    move-result-object v2

    invoke-virtual {v1, v2, v4, v5}, Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z

    .line 313
    invoke-virtual {p1}, Landroid/widget/SeekBar;->getSecondaryProgress()I

    move-result v1

    if-lt v0, v1, :cond_f

    .line 314
    iget-object v1, p0, Lcom/brixd/niceapp/activity/AppVideoActivity$8;->this$0:Lcom/brixd/niceapp/activity/AppVideoActivity;

    # invokes: Lcom/brixd/niceapp/activity/AppVideoActivity;->updatePlayStatus(I)V
    invoke-static {v1, v3}, Lcom/brixd/niceapp/activity/AppVideoActivity;->access$1600(Lcom/brixd/niceapp/activity/AppVideoActivity;I)V

    .line 315
    iget-object v1, p0, Lcom/brixd/niceapp/activity/AppVideoActivity$8;->this$0:Lcom/brixd/niceapp/activity/AppVideoActivity;

    # getter for: Lcom/brixd/niceapp/activity/AppVideoActivity;->mIsControlToolBarShown:Z
    invoke-static {v1}, Lcom/brixd/niceapp/activity/AppVideoActivity;->access$400(Lcom/brixd/niceapp/activity/AppVideoActivity;)Z

    move-result v1

    if-eqz v1, :cond_5c

    .line 316
    iget-object v1, p0, Lcom/brixd/niceapp/activity/AppVideoActivity$8;->this$0:Lcom/brixd/niceapp/activity/AppVideoActivity;

    # getter for: Lcom/brixd/niceapp/activity/AppVideoActivity;->mBtnPlayControl:Landroid/widget/ImageButton;
    invoke-static {v1}, Lcom/brixd/niceapp/activity/AppVideoActivity;->access$100(Lcom/brixd/niceapp/activity/AppVideoActivity;)Landroid/widget/ImageButton;

    move-result-object v1

    invoke-virtual {v1, v3}, Landroid/widget/ImageButton;->setVisibility(I)V

    .line 318
    :cond_5c
    iget-object v1, p0, Lcom/brixd/niceapp/activity/AppVideoActivity$8;->this$0:Lcom/brixd/niceapp/activity/AppVideoActivity;

    # invokes: Lcom/brixd/niceapp/activity/AppVideoActivity;->showLoading()V
    invoke-static {v1}, Lcom/brixd/niceapp/activity/AppVideoActivity;->access$1700(Lcom/brixd/niceapp/activity/AppVideoActivity;)V

    goto :goto_f
.end method
